/*
 * @Author: xiaosihan 
 * @Date: 2022-07-11 07:42:43 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2022-11-20 17:51:15
 */

import React from "react";
import { useEffect, useRef, useState } from "react";
import styles from "./index.module.less";
import RingChart3d from './RingChart3d';



const Line = () => {
    const pieChartDom = useRef<HTMLImageElement | null>(null);


    useEffect(() => {
        const chart = new RingChart3d(pieChartDom.current!)
        chart.animate()
    }, []);



    return (
        <div className={styles.left3} ref={pieChartDom}>
        </div>
    );
}

export default Line;